package com.liveneo.adapter.base.mapper;

import java.util.List;
import com.liveneo.adapter.base.entity.PrpmUploadLossItemImg;

/**
 * 依赖配置文件：PrpmUploadLossItemimgMapper.xml
 * 
 * @Title：PrpmUploadLossItemimgMapper
 * @address: http://www.liveneo.com.cn/
 * @author: zhangyw
 * @version: 1.0
 * @date: 2016年10月21日 下午3:05:29
 */

public interface PrpmUploadLossItemImgMapper {
    int deleteByPrimaryKey(String ID);

    int insert(PrpmUploadLossItemImg record);

    int insertBatch(List<PrpmUploadLossItemImg> list);

    PrpmUploadLossItemImg selectByPrimaryKey(String ID);

    List<PrpmUploadLossItemImg> selectAll();

    int updateByPrimaryKey(PrpmUploadLossItemImg record);
    
    int updateByPrimaryKeySelective(PrpmUploadLossItemImg record);

    /**
     * 查询案件图片信息by lossItemUuid
     * 
     * @param lossItemUuid
     * @return
     */
    List<PrpmUploadLossItemImg> selectByLossItemCypId(String lossItemUuid);

    /**
     * 查询案件图片信息by lossItemUuid
     * 
     * @param lossItemUuid
     * @return
     */
    List<PrpmUploadLossItemImg> selectByCheckUuid(String checkUuid);

    /**
     * 查询案件图片信息by lossItemUuid and mobile
     * @Title：
     * 
     * @author zhangyw 2016年10月18日 下午3:55:08
     * @param checkUuid
     * @param mobile
     * @return
     */

    List<PrpmUploadLossItemImg> selectByCheckUuidAndMobile(String checkUuid, String mobile);

    int deleteByIDList(List<String> idList);

    int delete(String ID);
}
